package ua.kpi_java_training.tyshchenko.module2;

/**
 * Class contains all input data about project.
 *
 * @author Vlad Tyshchenko
 * @version 23 June 2013
 */
public class InputAllData extends AbstractInputAllData{

    public InputAllData() {
        widthHabitat = Input.inputPositiveNumbers("Enter width of habitat: ");
        lengthHabitat = Input.inputPositiveNumbers("Enter length of habitat: ");
        amountCycle = Input.inputPositiveNumbers("Enter amount cycle life: ");
        amountVictim = Input.inputPositiveNumbers("Enter amount of victim: ");
        amountPredator = Input.inputPositiveNumbers("Enter amount of predator: ");
        amountHurdle = Input.inputNumber("Enter amount hurdles: ");
        coordinatesHurdle = new int[2][amountHurdle];
        for (int i = 0; i < amountHurdle; i++) {
            coordinatesHurdle[0][i] = Input.inputNumber("Input hurdle's coordinate Y ");
            coordinatesHurdle[1][i] = Input.inputNumber("Input hurdle's coordinate X ");
        }
    }

}
